<template>
    <h4>项目登录页</h4>
    <input type="button" value="admin登录" @click="doLogin('admin')">
    <input type="button" value="tom登录" @click="doLogin('tom')">

</template>

<script>
    export default {
        methods: {
            doLogin(user) {
                sessionStorage.setItem("golobToken",user)
            }
        },
    }
</script>

<style lang="scss" scoped>

</style>